package com.jinzhi.jzsynthesize.ExcelVo;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.jinzhi.jzweb.domain.StuSignUpDO;
import com.jinzhi.sys.domain.UserDO;
import lombok.Data;

@Data
public class ResultEnterVo {
    private static final long serialVersionUID = 2785669989204498274L;

    /** 姓名 */
    @Excel(name = "学生姓名" ,width = 20)
    private String name;

    /** 手机号码 */
    @Excel(name = "准考证号" ,orderNum = "1",width = 20)
    private String mobile;

    /** 身份证号码 */
    @Excel(name = "考试科目" ,orderNum = "2",width = 30)
    private String idNumber;

    /** 考试成绩 */
    @Excel(name = "考试成绩" ,orderNum = "2",width = 15)
    private String result;

    public ResultEnterVo(){

    }

    public ResultEnterVo(StuSignUpDO stu , UserDO user){
        this.name = stu.getName();
        this.mobile = user.getMobile();
        this.idNumber = stu.getIdNumber();
        this.result = null;
    }
}
